<?php
session_start();
unset($_SESSION['uid'], $_SESSION['username']);
session_destroy();
header('location: index.php');